/*
 * TestUtils.h
 *
 *  Created on: Dec 7, 2012
 *      Author: Larry.Li
 */

#ifndef TESTUNITS_H_
#define TESTUNITS_H_

#include "../BitBoard.h"
#include <Cunit/Basic.h>
#include <Cunit/Cunit.h>

extern BitBoard emptyBoard();
extern void genBitBoardArrayMapping(BitBoard *board, int *array);
extern void genAllPossibleBitArrayOfRank(int array[512][9]);
extern void genAllPossibleBitArrayOfFile(int array[1024][10]);
extern void genBitBoardFromBits(BitBoard *board, int rowNum, unsigned long bits);
extern int isMovementExists(Movement movements[194], int movementCount, int from,
		int to);

#endif /* TESTUNITS_H_ */
